﻿using System;
using System.Collections.Generic;
using HiTeachers.Entities;

namespace HiTeachers.Interfaces
{
    public interface INewDao : IDao<New, Guid>
    {
        long TotalNumberOfNew();
        IList<New> GetRelationNews(Guid itId, DateTime aroundDate, int maxItem);
        IList<New> GetNews(int maximumRows, int startRowIndex);
    }
}
